﻿using MaterialManagement.Domain.ERP;
using Microsoft.EntityFrameworkCore;
using Process.Domain;
using ProductionLine.Domain.BOM;
using ProductionLine.Domain.Car;
using ProductionLine.Domain.Dispatch;
using ProductionLine.Domain.Material;
using ProductionLine.Domain.Plan;
using ProductionLine.Domain.Product;
using ProductionLine.Domain.ProductLine;
using ProductionLine.Domain.Site;
using ProductionLine.Domain.Team;
using Sale.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionLine.Infrastructure
{
    public class ProductionLineDbContext : DbContext
    {
        public ProductionLineDbContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<PlanModel> PlanModel { get; set; }
        public DbSet<BOMModel> BOMModel { get; set; }
        public DbSet<MaterialDetailIModel> MaterialDetailIModel { get; set; }
        public DbSet<ProductModel> ProductModel { get; set; }
        public DbSet<ProductTrueModel> ProductTrueModel { get; set; }
        public DbSet<TeamModel> TeamModel { get; set; }
      
        public DbSet<TaskDispatchModel> TaskDispatchModel { get; set; }
        public DbSet<CarModel> CarModel { get; set; }
        public DbSet<UserModel> UserModel { get; set; }
        public DbSet<DepartmentModel> DepartmentModel { get; set; }
        public DbSet<ProductLineModel> ProductLineModel { get; set; }
        public DbSet<SiteModel> SiteModel { get; set; }
        public DbSet<MaterialInfoModel> MaterialInfoModel { get; set; }
        public DbSet<SalesOrderModel> SalesOrderModel { get; set; }
        public DbSet<ProductionOrders> ProductionOrders {  get; set; }
      

    }
}
